package com.newtouch.bxzs.database.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 基础公共接口service类
 * 
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2020年12月29日</td>
 * <td>Amour</td>
 * <td>Create</td>
 * </tr>
 * </table>
 * 
 * @author Amour
 * 
 * @version 1.0.0
 * @since 1.0.0
 */
@Component
@FeignClient(url = "192.168.1.168:8181", name = "getVerCode")
public interface SimulationClient {
	/**
	 * 调用外部接口获取验证码
	 * 
	 * @return
	 */
	@PostMapping(value = "/simulation/getVerCode")
	public String getVerCode();

}
